package com.example.ranl_safeapi.Dao;

import com.example.ranl_safeapi.Entity.Student;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface StudentDao {
    //按照姓名前缀查询
    List<Student> findByPrefix(String namePrefix);

    //按照生日范围查询
    List<Student> findByBirth(Date startday, Date finalday);
}
